-- GENERATED SPELL FOR [Blackwood Totemic] --


function spell0_2169(pUnit, Event) --@Healing Ward,Self--
pUnit:FullCastSpellOnTarget(5605,pUnit)
pUnit:RegisterEvent('Sorts_2169', 32000, 1)
end

function Sorts_2169(pUnit, Event)
local choix_sorts_2169 = math.random(0, 0)
if choix_sorts_2169 == 0 then
pUnit:RegisterEvent('spell0_2169', 1, 1)
end
end

function mob2169_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2169', math.random(1500, 3000), 1)
end

function mob2169_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2169_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2169_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2169, 1, 'mob2169_Action')
RegisterUnitEvent(2169, 2, 'mob2169_Leave')
RegisterUnitEvent(2169, 3, 'mob2169_Kill')
RegisterUnitEvent(2169, 4, 'mob2169_Die')
